#include "StdAfx.h"
#include "SSDBService.h"
#include "tinyxml.h"
#include "tconfigsetting.h"
#include "SSCfgService.h"
#include "SSConsoleService.h"
#pragma comment(lib,"odbccp32.lib")
#pragma comment(lib,"odbc32.lib")

 

CSSDBService::CSSDBService(void)
{
}

CSSDBService::~CSSDBService(void)
{
}

bool CSSDBService::Initialize( void* param )
{
	CSSCfgService& instance =  CSSCfgServiceHolder::Instance();
	bool ret = instance.AppSetting()["dbsettting"]["enabled"].EleVal() == "false";
	return ret;
	std::string dsn = instance.AppSetting()["dbsettting"]["dsn"].EleVal();
	return true;
}
